<%@page import="java.sql.*" %>
<%@page import="java.sql.PreparedStatement" %>
<%@page import="java.sql.ResultSet" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
 <link rel="stylesheet" href="style/userCenter.css">
<title>个人中心</title>
</head>
<body>
<!-----------导入hread.jsp--------------->
<%@include file="hread.jsp" %>

<!------------中间-->
<div class=one>
<div class=one-top><p>个人发布问题列表</p></div>

<!-----------用户列表-->
<div class=one-content>
    <table border=1>
        <tr>
            <th>问题标题</th>
            <th>发布时间</th>
            <th>操作</th>
        </tr>
 
        <!---------循环数据-->
<c:forEach var="Question" items="${QuestionList}">
        <tr>
            <td><a href="itemServlet.do?qid=${Question.q_id}" >${Question.q_title}</a></td>
            <td>${Question.post_date}</td>

            <td><a href="itemServlet.do?qid=${Question.q_id}"><button>详情</button></a></td>
  
        </tr>
</c:forEach>

    </table>
     
            
</div>
</div>
</body>
</html>